import {
  CreditCardOutlined,
  FolderOpenOutlined,
  PictureOutlined,
} from '@ant-design/icons'

export default {
  route: {
    path: '/',
    routes: [
      {
        name: '首页',
        path: '/home',
        component: '@/pages/Home',
      },
      {
        name: '数据展示',
        path: '/dataPage',
        icon: <PictureOutlined />,
        component: '@/pages/DataPage',
      },
      {
        path: '/photoManage',
        name: '图片管理',
        icon: <FolderOpenOutlined />,
        component: '@/pages/Table',
      },
      {
        name: '标签管理',
        path: '/labelsManage',
        icon: <CreditCardOutlined />,
        component: '@/pages/LabelsManage',
      },
    ],
  },
  location: {
    pathname: '/',
  },
}
